<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::Displacement Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_displacement.html">Displacement</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_displacement-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::Displacement Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>computing displacement from current and initial particle position  
 <a href="class_s_p_h_1_1_displacement.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="solid__particles__variable_8h_source.html">solid_particles_variable.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_derived_variable.html">SPH::BaseDerivedVariable&lt; Vecd &gt;</a>, and <a class="el" href="class_s_p_h_1_1_data_delegate_simple.html">SPH::DataDelegateSimple&lt; BodyType, ParticlesType, MaterialType &gt;</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aaaf74cb6aa154a7f54501642d0e2b602"><td class="memItemLeft" align="right" valign="top"><a id="aaaf74cb6aa154a7f54501642d0e2b602"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Displacement</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body)</td></tr>
<tr class="separator:aaaf74cb6aa154a7f54501642d0e2b602"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4623d1b7dce97ed969564792a9de8511"><td class="memItemLeft" align="right" valign="top"><a id="a4623d1b7dce97ed969564792a9de8511"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>update</b> (<a class="el" href="classsize__t.html">size_t</a> index_i, Real dt=0.0)</td></tr>
<tr class="separator:a4623d1b7dce97ed969564792a9de8511"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_derived_variable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_derived_variable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_derived_variable.html">SPH::BaseDerivedVariable&lt; Vecd &gt;</a></td></tr>
<tr class="memitem:aba935a8a7908396ce69d1aa38c65db2e inherit pub_methods_class_s_p_h_1_1_base_derived_variable"><td class="memItemLeft" align="right" valign="top"><a id="aba935a8a7908396ce69d1aa38c65db2e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseDerivedVariable</b> (const <a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body, const std::string &amp;variable_name)</td></tr>
<tr class="separator:aba935a8a7908396ce69d1aa38c65db2e inherit pub_methods_class_s_p_h_1_1_base_derived_variable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_data_delegate_simple"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_data_delegate_simple')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_data_delegate_simple.html">SPH::DataDelegateSimple&lt; BodyType, ParticlesType, MaterialType &gt;</a></td></tr>
<tr class="memitem:a6a3cb6f77908b29cb19d885fe44f5af8 inherit pub_methods_class_s_p_h_1_1_data_delegate_simple"><td class="memItemLeft" align="right" valign="top"><a id="a6a3cb6f77908b29cb19d885fe44f5af8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>DataDelegateSimple</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body)</td></tr>
<tr class="separator:a6a3cb6f77908b29cb19d885fe44f5af8 inherit pub_methods_class_s_p_h_1_1_data_delegate_simple"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a707202e03905ff3ceda49f99c4783fba inherit pub_methods_class_s_p_h_1_1_data_delegate_simple"><td class="memItemLeft" align="right" valign="top"><a id="a707202e03905ff3ceda49f99c4783fba"></a>
BodyType *&#160;</td><td class="memItemRight" valign="bottom"><b>getBody</b> ()</td></tr>
<tr class="separator:a707202e03905ff3ceda49f99c4783fba inherit pub_methods_class_s_p_h_1_1_data_delegate_simple"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a804ded956bada800b6992e3d9a643d1c inherit pub_methods_class_s_p_h_1_1_data_delegate_simple"><td class="memItemLeft" align="right" valign="top"><a id="a804ded956bada800b6992e3d9a643d1c"></a>
ParticlesType *&#160;</td><td class="memItemRight" valign="bottom"><b>getParticles</b> ()</td></tr>
<tr class="separator:a804ded956bada800b6992e3d9a643d1c inherit pub_methods_class_s_p_h_1_1_data_delegate_simple"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bd4cecca8c468f622a1f523b2843ff4 inherit pub_methods_class_s_p_h_1_1_data_delegate_simple"><td class="memItemLeft" align="right" valign="top"><a id="a4bd4cecca8c468f622a1f523b2843ff4"></a>
MaterialType *&#160;</td><td class="memItemRight" valign="bottom"><b>getMaterial</b> ()</td></tr>
<tr class="separator:a4bd4cecca8c468f622a1f523b2843ff4 inherit pub_methods_class_s_p_h_1_1_data_delegate_simple"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a2e09099c4ca3c3b65182128b856d4784"><td class="memItemLeft" align="right" valign="top"><a id="a2e09099c4ca3c3b65182128b856d4784"></a>
StdLargeVec&lt; Vecd &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>pos_</b></td></tr>
<tr class="separator:a2e09099c4ca3c3b65182128b856d4784"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf6fb9f57c77d3d0a2e5fcbd49cd7b09"><td class="memItemLeft" align="right" valign="top"><a id="acf6fb9f57c77d3d0a2e5fcbd49cd7b09"></a>
StdLargeVec&lt; Vecd &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>pos0_</b></td></tr>
<tr class="separator:acf6fb9f57c77d3d0a2e5fcbd49cd7b09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_derived_variable"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_derived_variable')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_derived_variable.html">SPH::BaseDerivedVariable&lt; Vecd &gt;</a></td></tr>
<tr class="memitem:a441738f19af75ad0a0487f7f7d0ebf07 inherit pro_attribs_class_s_p_h_1_1_base_derived_variable"><td class="memItemLeft" align="right" valign="top"><a id="a441738f19af75ad0a0487f7f7d0ebf07"></a>
StdLargeVec&lt; Vecd &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>derived_variable_</b></td></tr>
<tr class="separator:a441738f19af75ad0a0487f7f7d0ebf07 inherit pro_attribs_class_s_p_h_1_1_base_derived_variable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_data_delegate_simple')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_data_delegate_simple.html">SPH::DataDelegateSimple&lt; BodyType, ParticlesType, MaterialType &gt;</a></td></tr>
<tr class="memitem:a1d373bbac77e5237890e17ad7a234bea inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memItemLeft" align="right" valign="top"><a id="a1d373bbac77e5237890e17ad7a234bea"></a>
BodyType *&#160;</td><td class="memItemRight" valign="bottom"><b>body_</b></td></tr>
<tr class="separator:a1d373bbac77e5237890e17ad7a234bea inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0984a97bd1065a91bf4f77165373fb3c inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memItemLeft" align="right" valign="top"><a id="a0984a97bd1065a91bf4f77165373fb3c"></a>
ParticlesType *&#160;</td><td class="memItemRight" valign="bottom"><b>particles_</b></td></tr>
<tr class="separator:a0984a97bd1065a91bf4f77165373fb3c inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05d1c08b536e8fb2b42df75d3ac62e17 inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memItemLeft" align="right" valign="top"><a id="a05d1c08b536e8fb2b42df75d3ac62e17"></a>
MaterialType *&#160;</td><td class="memItemRight" valign="bottom"><b>material_</b></td></tr>
<tr class="separator:a05d1c08b536e8fb2b42df75d3ac62e17 inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f803a65263fc424b94cd13ad0e62856 inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memItemLeft" align="right" valign="top"><a id="a1f803a65263fc424b94cd13ad0e62856"></a>
StdLargeVec&lt; <a class="el" href="classsize__t.html">size_t</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>sorted_id_</b></td></tr>
<tr class="separator:a1f803a65263fc424b94cd13ad0e62856 inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fcde9b9d2620a7af465182f6fdcb6f0 inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memItemLeft" align="right" valign="top"><a id="a3fcde9b9d2620a7af465182f6fdcb6f0"></a>
StdLargeVec&lt; <a class="el" href="classsize__t.html">size_t</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>unsorted_id_</b></td></tr>
<tr class="separator:a3fcde9b9d2620a7af465182f6fdcb6f0 inherit pro_attribs_class_s_p_h_1_1_data_delegate_simple"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_s_p_h_1_1_base_derived_variable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_s_p_h_1_1_base_derived_variable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_s_p_h_1_1_base_derived_variable.html">SPH::BaseDerivedVariable&lt; Vecd &gt;</a></td></tr>
<tr class="memitem:aa8f7269a3fdf7ab1f6629134249e30e9 inherit pub_types_class_s_p_h_1_1_base_derived_variable"><td class="memItemLeft" align="right" valign="top"><a id="aa8f7269a3fdf7ab1f6629134249e30e9"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>DerivedVariableType</b> = Vecd</td></tr>
<tr class="separator:aa8f7269a3fdf7ab1f6629134249e30e9 inherit pub_types_class_s_p_h_1_1_base_derived_variable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_s_p_h_1_1_base_derived_variable"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_s_p_h_1_1_base_derived_variable')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_derived_variable.html">SPH::BaseDerivedVariable&lt; Vecd &gt;</a></td></tr>
<tr class="memitem:a3fc512a857129303a12fc7d5e68df25c inherit pub_attribs_class_s_p_h_1_1_base_derived_variable"><td class="memItemLeft" align="right" valign="top"><a id="a3fc512a857129303a12fc7d5e68df25c"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>variable_name_</b></td></tr>
<tr class="separator:a3fc512a857129303a12fc7d5e68df25c inherit pub_attribs_class_s_p_h_1_1_base_derived_variable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>computing displacement from current and initial particle position </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/particles/<a class="el" href="solid__particles__variable_8h_source.html">solid_particles_variable.h</a></li>
<li>SPHINXsys/src/shared/particles/<a class="el" href="solid__particles__variable_8cpp.html">solid_particles_variable.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
